﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZoneLineNew.Models.Entity.Base;

namespace ZoneLineNew.Models.Entity.BaseInfo {

    [Table(Name = "base_customer")]
    public class CustomerEntity : EntityBase {
        private string _name;
        private string _email;
        private string _telNumber;
        private string _address;

        /// <summary>
        /// 客户名称
        /// </summary>
        public string Name {
            get => _name;
            set => SetProperty(ref _name, value);
        }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email {
            get => _email;
            set => SetProperty(ref _email, value);
        }

        /// <summary>
        /// 电话
        /// </summary>
        public string TelNumber {
            get => _telNumber;
            set => SetProperty(ref _telNumber, value);
        }

        /// <summary>
        /// 地址
        /// </summary>
        public string Address {
            get => _address;
            set => SetProperty(ref _address, value);
        }

    }

}
